<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <meta name="renderer" content="webkit" />
    <title>我的消息</title>
    <meta name="force-rendering" content="webkit" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="stylesheet" href="../css/shop.css">
    <link rel="stylesheet" href="../css/weui.min.css">
    <link rel="stylesheet" href="../css/jquery-weui.min.css">
    <link rel="stylesheet" href="../css/main.css">
    <link rel="stylesheet" href="../css/demos.css">
</head>
<body>
<div class="header">
    <a class="haader-left" href="javascript:window.history.go(-1)"><i class="iconfont icon-left"></i></a>
    <div class="haader-content">消息详情</div>
    <div class="haader-right">
    </div>
</div>

<article class="weui-article">
    <h1 style="text-align: center;" id="title"> </h1>
    <section >
        <section id="content">

        </section>
    </section>
</article>
</body>
<script src="../js/jquery-2.1.4.js"></script>
<script src="../js/jquery-weui.js"></script>
<script src="../wxJs/utils/storage.js" ></script>
<script src="../wxJs/utils/contain.js" ></script>
<script>
    var smId =GetQueryString("smId");
    $.post(getWeiContextPath()+"/wx/shop/queryOneMsg",{smId:smId},function (obj) {
        if (obj.status==0){
            markYiDu(smId)
        }
        $("#title").text(obj.msgTitle)
        $("#content").html(obj.msgContent)

    })

    function markYiDu(umId) {
        $.post(getWeiContextPath()+"/wx/shop/markYiDu",{smId:smId})
    }

</script>
</html>